package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import org.apache.ibatis.annotations.Mapper;

/**
 * 护理项目Mapper接口
 */
@Mapper
public interface NursingProjectMapper {

    /**
     * 分页查询护理项目
     * @param name
     * @param status
     * @return
     */
    Page<NursingProject> selectByPage(String name, Integer status);

    void insert(NursingProject nursingProject);


    NursingProject queryById(Long id);

    /**
     * 编辑护理项目
     * @param nursingProject
     */
    void update(NursingProject nursingProject);

    /**
     *
     */
    void delete(Long id);
}